﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace SmallControls
{
    /// <summary>
    /// Interaction logic for userMenu.xaml
    /// </summary>
    public partial class userMenu : UserControl
    {
        public userMenu()
        {
            InitializeComponent();
        }

        private void miUkoncit_Click_1(object sender, RoutedEventArgs e)
        {
            Application.Current.Shutdown();
        }

        private void miManual_Click_1(object sender, RoutedEventArgs e)
        {
            Manual.MainWindow manualWin = new Manual.MainWindow();
            manualWin.Show();
        }

        private void miPodpora_Click_1(object sender, RoutedEventArgs e)
        {

            SmallControls.Kontakty kontaktyWin = new SmallControls.Kontakty();
            kontaktyWin.Show();
        }

        private void miAbout_Click_1(object sender, RoutedEventArgs e)
        {
            // throw new NotImplementedException();
        }

        private void miCeny_Click_1(object sender, RoutedEventArgs e)
        {
            SkladLib.CenyProfily cenyProfily = new SkladLib.CenyProfily();
            cenyProfily.Show();
        }

        private void miTiskarna_Click_1(object sender, RoutedEventArgs e)
        {
            MicroStarPrinter.SettingsWin settingsWindow = new MicroStarPrinter.SettingsWin();
            settingsWindow.Show();
        }

    }
}
